package itsm.isperp.module.repository.bpm.act;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2013-7-1
 * 
 */
@Repository
public interface BpmActMapper {

	/**
	 * 根据所部署的流程获取定义流程的xml文件
	 * 
	 * @param deployId
	 *            部署id
	 * @return 流程xml
	 */
	public Object findProcessDefinitionXmlByDeployId(
			@Param("deployId") String deployId);

	public void updateDefXml(@Param("deployId") String deployId,
			@Param("defXml") byte[] defXml);

	public void updateActGeByteArray(@Param("id") String id,
			@Param("bytes") byte[] bytes);
}
